package com.knowvoyage.knowvoyageserver.pojo.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
@Data
@Schema(description = "刷题真题实体类")
public class Question {
    private Long questionId;

    @Schema(description = "题型对应关系:1-单选题 2-填空题", allowableValues = {"1", "2"})
    private Integer type;

    @Schema(description = "科目对应关系:1-数据结构 2-操作系统 3-计算机网络 4-计算机组成原理",
            allowableValues = {"1", "2", "3", "4"})
    private Integer subject;

    private Integer year;

    private String content;

    private String answer;

    private String analysis;

    private LocalDateTime createdTime;

}
